const { defineConfig } = require('@vue/cli-service')
const StylelintPlugin = require('stylelint-webpack-plugin')

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    open: true
  },
  configureWebpack: {
    plugins: [
      new StylelintPlugin({
        files: ['src/**/*.{html,vue,css,scss}']
      })
    ]
  }
})
